//
//  AppDelegate+YCUMSocialDelegate.m
//  YCVillageDoctor
//
//  Created by itclimb on 2017/6/29.
//  Copyright © 2017年 zhangxiaoliang. All rights reserved.
//

#import "AppDelegate+YCUMSocialDelegate.h"

@implementation AppDelegate (YCUMSocialDelegate)

- (void)yc_setupUMSocial:(NSDictionary *)launchOptions application:(UIApplication *)application{
    //设置友盟
    [[UMSocialManager defaultManager] setUmSocialAppkey:@"5954600b8f4a9d403d001ca9"];
    
    //设置微信
    [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_WechatSession appKey:@"wxcdc5a74a0d127b83" appSecret:nil redirectURL:@"http://mobile.umeng.com/social"];
    
//    //设置新浪
//    [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_Sina appKey:@"3771736482"  appSecret:@"906f4ad89ad7fec7a9d3450d4ddfa052" redirectURL:@"http://sns.whalecloud.com/sina2/callback"];
//    
//    //设置QQ
//    [[UMSocialManager defaultManager] setPlaform:UMSocialPlatformType_QQ appKey:@"1105790833" appSecret:nil redirectURL:@"http://mobile.umeng.com/social"];
}

@end
